<?php

	class Zend_View_Helper_Place{


		public function Place(){
			
			$controller = Zend_Controller_Front::getInstance()->getRequest()->getControllerName();
			$action = Zend_Controller_Front::getInstance()->getRequest()->getActionName();

			$baseUrl = $controller;
			$newBaseUrl = $baseUrl;

			$url = $action;
			$newUrl = $url;
			if($baseUrl == "index"){
				$newBaseUrl = "home";
			}

			if($url == "index"){
				$newUrl = "";
			}

			echo "<a href='/".$baseUrl."/index'>".$newBaseUrl."</a><a href='/".$baseUrl."/".$url."'>".$newUrl."</a>";
		}
	}